package com.tanhua.domain.db;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "users")
public class Users {
    // 自动映射mongodb中的_id
    private ObjectId id;
    private String username;
    private int age;
    private String address;
}
